/* GLOBAL STYLES */
body {
  font-family: 'Poppins', sans-serif;
  color: white;
  background: linear-gradient(rgba(60, 0, 90, 0.15), rgba(0, 0, 0, 0.15)),
              url("background.png") no-repeat center center/cover;
  background-attachment: fixed;
  margin: 0;
  padding: 5px;
  min-height: 100vh;
}

/* Navbar */
.navbar {
  background: linear-gradient(to right, rgba(45, 0, 63, 0.95), rgba(85, 26, 139, 0.95));
}

/* Main content spacing */
section.main-content {
  margin-top: 90px;
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: auto;
  padding: 20px 15px;
}

section.main-content .container {
  width: 100%;
}

section.main-content .row {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  justify-content: center;
  gap: 2rem;
  padding: 0 1rem;
}

/* Left panel - Emphasis styling */
.left-container {
  background: linear-gradient(135deg, rgba(85, 26, 139, 0.4) 0%, rgba(45, 0, 63, 0.6) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  width: 44%;
  max-width: 440px;
  margin: 0;
  padding: 1.75rem 1.25rem;
}

.left-container:hover {
  background: linear-gradient(135deg, rgba(85, 26, 139, 0.5) 0%, rgba(45, 0, 63, 0.7) 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.left-container h1 {
  font-size: clamp(2.2rem, 7vw, 3.2rem);
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 1.5rem;
  color: #ffffff;
  line-height: 1.2;
}

.left-container .lead {
  font-size: clamp(1.1rem, 4.5vw, 1.4rem);
  font-weight: 500;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.6px;
  text-align: center;
  max-width: 90%;
}

.left-container h2 {
  font-size: clamp(1.6rem, 5.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 1.8px;
  color: #ffffff;
  margin-top: 1rem;
  text-align: center;
}

/* Right panel - Form with glassmorphism */
.right-container {
  background: linear-gradient(135deg, rgba(85, 26, 139, 0.3) 0%, rgba(45, 0, 63, 0.5) 100%);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 46%;
  max-width: 460px;
  margin: 0;
  padding: 2rem 1.75rem;
}

.right-container h5 {
  color: white;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  font-size: clamp(0.95rem, 3vw, 1.1rem);
}

.right-container form {
  width: 100%;
}

.form-label {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  font-size: clamp(0.85rem, 2.5vw, 0.95rem);
  margin-bottom: 0.5rem;
  letter-spacing: 0.3px;
}

.form-control {
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  padding: 6px 12px;
  color: white;
  font-size: clamp(0.85rem, 1.8vw, 0.9rem);
  transition: all 0.3s ease;
  height: 36px;
  line-height: 1.2;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-control:focus {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  color: white;
}

.form-check-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  margin-left: 0.5rem;
}

.text-muted {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: clamp(0.75rem, 2vw, 0.85rem);
}

.btn-primary {
  background: linear-gradient(135deg, #1d3e91 0%, #142d6b 100%);
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  font-weight: 600;
  font-size: clamp(0.85rem, 2vw, 0.9rem);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(29, 62, 145, 0.3);
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #142d6b 0%, #0d1f4a 100%);
  box-shadow: 0 6px 20px rgba(29, 62, 145, 0.5);
  transform: translateY(-2px);
}

.btn-light {
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white !important;
  font-weight: 600;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  transition: all 0.3s ease;
}

.btn-light:hover {
  background-color: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  color: white;
}

.btn-light {
  background-color: rgba(255, 255, 255, 0.15) !important;
  color: #333 !important;
}

.btn-light:hover {
  background-color: rgba(255, 255, 255, 0.3) !important;
  color: #333 !important;
}

.btn-light img {
  filter: brightness(1.2);
}

/* Override dark color for social buttons */
.btn-light.btn-social {
  color: #fff !important;
}

.text-decoration-none {
  color: #4ade80;
  font-weight: 600;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  transition: all 0.3s ease;
}

.text-decoration-none:hover {
  color: #22c55e;
  text-decoration: underline;
}

/* Glassmorphism form container */
.form-glass-container {
  background: rgba(30, 30, 30, 0.75);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border: 1.5px solid rgba(80, 80, 80, 0.35);
  border-radius: 10px;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.18);
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.75rem;
}

.form-glass-container:hover {
  background: rgba(30, 30, 30, 0.88);
  border: 2px solid rgba(120, 120, 120, 0.45);
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.22);
}

/* Footer */
.footer {
  background-color: rgba(0, 0, 0, 0.7);
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  margin-top: auto;
}

/* Responsive design */
@media (max-width: 992px) {
  .left-container,
  .right-container {
    width: 100% !important;
    max-width: 600px;
    margin: 0 auto !important;
  }
  
  .right-container {
    margin-top: 2rem !important;
  }
}

@media (max-width: 768px) {
  section.main-content {
    margin-top: 70px;
    margin-bottom: 30px;
    padding: 0 15px;
  }
  
  .left-container,
  .right-container {
    padding: 1.5rem !important;
  }

  .left-container h1 {
    margin-bottom: 0.75rem;
  }

  .left-container .lead {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 480px) {
  section.main-content {
    margin-top: 70px;
  }

  .left-container,
  .right-container {
    padding: 1.5rem 1rem !important;
  }

  .left-container h1 {
    font-size: 1.5rem;
  }

  .left-container .lead {
    font-size: 0.95rem;
  }

  .left-container h2 {
    font-size: 1.2rem;
  }

  .right-container h5 {
    font-size: 0.95rem;
  }
}